﻿@model MsForgeReboot.Framework.Entities.Event

@{
    ViewBag.Title = Model.Title;
}

<h2>@Html.DisplayFor(model => model.Title)</h2>

<fieldset>
    <legend>@Html.DisplayFor(model => model.Topic)</legend>

    <div class="control-group">
        @Html.DisplayNameFor(model => model.Begin) - @Html.DisplayNameFor(model => model.End)
    
    <div class="controls">
        @Html.DisplayFor(model => model.Begin) - @Html.DisplayFor(model => model.End)
    </div></div>
    
    <div class="control-group">
        @Html.DisplayNameFor(model => model.Venue)
   
    <div class="controls">
        @Html.DisplayFor(model => model.Venue)
    </div> </div>

    @if (Model.IsStreamingEvent)
    {
        <div class="control-group">
            @Html.DisplayNameFor(model => model.StreamingInstructions)
       
        <div class="controls">
            @Html.DisplayFor(model => model.StreamingInstructions)
        </div> </div>
    }
    <div>
        @Html.DisplayFor(model => model.Body)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Back to List", "Index")
</p>
